package com.hxtec.polaris.service;

import com.hxtec.polaris.entity.ShopUser;
import com.hxtec.polaris.model.ShopUserEntity;

public interface UserService {
    ShopUserEntity getUser();

    void create(String mobile,String password) throws Exception;

    int verify(String number);

    void bind(String openid);

    ShopUser getUserInfoByPhone(String phone);

    /**
     * 获取当前登录用户手机号
     * @return
     */
    String getUserPhonenumber();

    /**
     * 获取用户信息
     * @return
     */
    ShopUser getUserInfo();
}
